<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Tagprefix="Training1" TagName="Header" Src="../Header and Footer/Header.ascx" %>

<%@ Register Tagprefix="Training1" Namespace="Training1.UI.Controls.ShowVehicleTypeTablePage" %>

<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<%@ Register Tagprefix="Training1" TagName="ThemeButton" Src="../Shared/ThemeButton.ascx" %>

<%@ Page Language="vb" EnableEventValidation="false" AutoEventWireup="false" CodeFile="ShowVehicleTypeTablePage.aspx.vb" Culture="en-US" Inherits="Training1.UI.ShowVehicleTypeTablePage" %>
<%@ Register Tagprefix="BaseClasses" Namespace="BaseClasses.Web.UI.WebControls" Assembly="BaseClasses" %>
<%@ Register Tagprefix="Training1" TagName="Pagination" Src="../Shared/Pagination.ascx" %>

<%@ Register Tagprefix="Training1" TagName="Menu" Src="../Menu Panels/Menu.ascx" %>

<%@ Register Tagprefix="Selectors" Namespace="Training1" %>

<%@ Register Tagprefix="Training1" TagName="Footer" Src="../Header and Footer/Footer.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
    <title><asp:Literal runat="server" id="PageTitle" Text="&lt;%#String.Concat(GetResourceValue(&quot;Title:Show&quot;, &quot;Training1&quot;),&quot; Vehicle Type&quot;) %>">
</asp:Literal></title>
    <link rel="stylesheet" rev="stylesheet" type="text/css" href="../Styles/BaseStyles.css"/>
    <link rel="stylesheet" rev="stylesheet" type="text/css" href="../Styles/Styles.css"/>
    </head>
    <body id="Body1" runat="server" class="pBack">
    <form id="Form1" method="post" runat="server"><BaseClasses:ScrollCoordinates id="ScrollCoordinates" runat="server"></BaseClasses:ScrollCoordinates>
        <BaseClasses:BasePageSettings id="PageSettings" runat="server"></BaseClasses:BasePageSettings>
        <script language="JavaScript" type="text/javascript">clearRTL()</script>
		<asp:ScriptManager ID="scriptManager1" runat="server" EnablePartialRendering="True" EnablePageMethods="True" EnableScriptGlobalization="True" EnableScriptLocalization="True" />
		
        <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
        <tr>
        <td class="pAlign">
        <table cellspacing="0" cellpadding="0" border="0" class="pbTable">
            <tr>
            <td class="pbTL"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbT"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbTR"><img src="../Images/space.gif" alt=""/></td>
            </tr>
            <tr>
            <td class="pbL"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbC">
            <table cellspacing="0" cellpadding="0" border="0" class="pcTable">
            <tr>
                <td class="pcT" colspan="2">
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                <tr>
                <td>
                </td>
            </tr>
            </table>
            <table cellspacing="0" cellpadding="0" border="0" width="100%">
            <tr>
            <td><Training1:Header runat="server" id="PageHeader">
		</Training1:Header></td>
            </tr>
            </table>
            </td>
            <td class="pcTR"></td>
            </tr>
            <tr>
                <td class="pcL">
                    </td>
                <td class="pcC">
                <table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
                <tr>
                <td>
                    <Training1:Menu runat="server" id="Menu" HiliteSettings="VehicleTypeMenuItem">
		</Training1:Menu></td>
                </tr>
                <tr>
                    <td>
                        <table cellspacing="0" cellpadding="0" border="0" width="100%">
                        <tr>
                        <td class="pContent">
                            <a name="StartOfPageContent"></a>
<asp:UpdateProgress runat="server" id="VehicleTypeTableControlUpdateProgress" AssociatedUpdatePanelID="VehicleTypeTableControlUpdatePanel">
										<ProgressTemplate>
											<div style="position:absolute;   width:100%;height:1000px;background-color:#000000;filter:alpha(opacity=10);opacity:0.20;-moz-opacity:0.20;padding:20px;">
											</div>
											<div style=" position:absolute; padding:30px;">
												<img src="../Images/updating.gif" alt="">
											</div>
										</ProgressTemplate>
									</asp:UpdateProgress>
									<asp:UpdatePanel runat="server" id="VehicleTypeTableControlUpdatePanel" UpdateMode="Conditional">

										<ContentTemplate>
											<Training1:VehicleTypeTableControl runat="server" id="VehicleTypeTableControl">
														
    <!-- Begin Table Panel.html -->

    <table class="dv" cellpadding="0" cellspacing="0" border="0"><tr>
    <td class="dh">
    <table cellpadding="0" cellspacing="0" width="100%" border="0">
    <tr>
    <td class="dhel"><img src="../Images/space.gif" alt=""/></td><td class="dheci" valign="middle"><a onclick="toggleRegions(this);"><img id="ToggleRegionIcon" src="../Images/ToggleHideFilters.gif" border="0" alt="Hide Filters"/></a></td><td class="dht" valign="middle"><asp:Literal runat="server" id="VehicleTypeTitle" Text="Vehicle Type">
														</asp:Literal></td>
    <td class="dhtrc">
        <table id="CollapsibleRegionTotalRecords" style="display:none;" cellspacing="0" cellpadding="0" border="0">
        <tr>
        <td class="dhtrct"><%# GetResourceValue("Txt:TotalItems", "Training1") %>&nbsp;<asp:Label runat="server" id="VehicleTypeTotalItems">
														</asp:Label></td>
        </tr>
        </table>
    </td>
    <td class="dher"><img src="../Images/space.gif" alt=""/></td>
    </tr>
    </table>
    </td>
    </tr><tr>
        <td class="dBody">
        <table id="CollapsibleRegion" style="display:;" cellspacing="0" cellpadding="0" border="0">
        <tr>
        <td>
        <table id="FilterRegion" cellpadding="0" cellspacing="3" border="0">
    
    <!-- Search & Filter Area -->
    <tr>
        <td class="fila"><%# GetResourceValue("Txt:SearchFor", "Training1") %></td>
        <td>
        <%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("VehicleTypeTableControl$VehicleTypeSearchButton")) %>
        <asp:TextBox runat="server" id="VehicleTypeSearchArea" CaseSensitive="false" Columns="50" CssClass="Search_Input" Fields="Make,Model">
															</asp:TextBox>
		<asp:AutoCompleteExtender id="VehicleTypeSearchAreaAutoCompleteExtender" runat="server" TargetControlID="VehicleTypeSearchArea" ServiceMethod="GetAutoCompletionList_VehicleTypeSearchArea" MinimumPrefixLength="2" CompletionInterval="700" CompletionSetCount="10" CompletionListCssClass="autotypeahead_completionListElement" CompletionListItemCssClass="autotypeahead_listItem " CompletionListHighlightedItemCssClass="autotypeahead_highlightedListItem">
		</asp:AutoCompleteExtender>
		
        <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("VehicleTypeTableControl$VehicleTypeSearchButton")) %>
        </td>
        <td class="filbc"><Training1:ThemeButton runat="server" id="VehicleTypeSearchButton" Button-CausesValidation="False" Button-CommandName="Search" Button-Text="&lt;%# GetResourceValue(&quot;Btn:SearchGoButtonText&quot;, &quot;Training1&quot;) %>">
		</Training1:ThemeButton></td>
    </tr>
    
            <tr>
            <td></td>
            <td></td>
            <td rowspan="100" class="filbc"></td> 
            </tr>
            
            <%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("VehicleTypeTableControl$VehicleTypeFilterButton")) %>
                <tr>
                <td class="fila"><asp:Literal runat="server" id="MakeLabel" Text="Make">
		</asp:Literal></td><td><asp:DropDownList runat="server" id="MakeFilter" CssClass="Filter_Input" MaxDisplayedValues="500" onkeypress="dropDownListTypeAhead(this,false)" AutoPostBack="True">
		</asp:DropDownList></td></tr>
                <tr>
                <td class="fila"><asp:Literal runat="server" id="ModelLabel" Text="Model">
		</asp:Literal></td><td><asp:DropDownList runat="server" id="ModelFilter" CssClass="Filter_Input" MaxDisplayedValues="500" onkeypress="dropDownListTypeAhead(this,false)" AutoPostBack="True">
		</asp:DropDownList></td></tr>
            <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("VehicleTypeTableControl$VehicleTypeFilterButton")) %>
            </table>
        <div class="spacer"></div>
        <!-- Category Area -->
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
        <tr>
        <td>
            <table cellspacing="0" cellpadding="0" border="0" width="100%">
            <tr>
            <td>
            <table cellpadding="0" cellspacing="0" border="0"><tr>
            <!-- Pagination Area -->
            <td class="pr" colspan="100">
            <table id="PaginationRegion" cellspacing="0" cellpadding="0" border="0">
            <tr>
            <td><img src="../Images/paginationRowEdgeL.gif" alt=""/></td>
            <td class="prbbc"><img src="../Images/ButtonBarEdgeL.gif" alt=""/></td><td class="prbbc"><img src="../Images/ButtonBarDividerL.gif" alt=""/></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeNewButton" CausesValidation="false" CommandName="Redirect" Consumers="page" ImageURL="../Images/ButtonBarNew.gif" onmouseout="this.src='../Images/ButtonBarNew.gif'" onmouseover="this.src='../Images/ButtonBarNewOver.gif'" RedirectURL="../VehicleType/AddVehicleTypePage.aspx" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeEditButton" CausesValidation="false" CommandName="Redirect" Consumers="page" ImageURL="../Images/ButtonBarEdit.gif" onmouseout="this.src='../Images/ButtonBarEdit.gif'" onmouseover="this.src='../Images/ButtonBarEditOver.gif'" RedirectURL="../VehicleType/EditVehicleTypePage.aspx?VehicleType={PK}" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Edit&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeCopyButton" CausesValidation="false" CommandName="Redirect" Consumers="page" ImageURL="../Images/ButtonBarCopy.gif" onmouseout="this.src='../Images/ButtonBarCopy.gif'" onmouseover="this.src='../Images/ButtonBarCopyOver.gif'" RedirectURL="../VehicleType/AddVehicleTypePage.aspx?VehicleType={PK}" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Copy&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeDeleteButton" CausesValidation="false" CommandName="DeleteRecord" ConfirmMessage="&lt;%# GetResourceValue(&quot;DeleteConfirm&quot;, &quot;Training1&quot;) %>" Consumers="VehicleTypeTableControl" ImageURL="../Images/ButtonBarDelete.gif" onmouseout="this.src='../Images/ButtonBarDelete.gif'" onmouseover="this.src='../Images/ButtonBarDeleteOver.gif'" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypePDFButton" CausesValidation="false" CommandName="ReportData" Consumers="VehicleTypeTableControl" ImageURL="../Images/ButtonBarPDFExport.gif" onmouseout="this.src='../Images/ButtonBarPDFExport.gif'" onmouseover="this.src='../Images/ButtonBarPDFExportOver.gif'" ToolTip="&lt;%# GetResourceValue(&quot;Btn:PDF&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeWordButton" CausesValidation="false" CommandName="ExportToWord" Consumers="VehicleTypeTableControl" ImageURL="../Images/ButtonBarWordExport.gif" onmouseout="this.src='../Images/ButtonBarWordExport.gif'" onmouseover="this.src='../Images/ButtonBarWordExportOver.gif'" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Word&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeExportExcelButton" CausesValidation="false" CommandName="ExportDataExcel" Consumers="VehicleTypeTableControl" ImageURL="../Images/ButtonBarExcelExport.gif" onmouseout="this.src='../Images/ButtonBarExcelExport.gif'" onmouseover="this.src='../Images/ButtonBarExcelExportOver.gif'" ToolTip="&lt;%# GetResourceValue(&quot;Btn:ExportExcel&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeExportButton" CausesValidation="false" CommandName="ExportData" Consumers="VehicleTypeTableControl" ImageURL="../Images/ButtonBarCSVExport.gif" onmouseout="this.src='../Images/ButtonBarCSVExport.gif'" onmouseover="this.src='../Images/ButtonBarCSVExportOver.gif'" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Export&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeImportButton" CausesValidation="false" CommandName="ImportCSV" Consumers="page" ImageURL="../Images/ButtonBarImport.gif" onmouseout="this.src='../Images/ButtonBarImport.gif'" onmouseover="this.src='../Images/ButtonBarImportOver.gif'" RedirectURL="../Shared/SelectFileToImport.aspx?TableName=VehicleType" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Import&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeRefreshButton" CausesValidation="false" CommandName="ResetData" Consumers="VehicleTypeTableControl" ImageURL="../Images/ButtonBarRefresh.gif" onmouseout="this.src='../Images/ButtonBarRefresh.gif'" onmouseover="this.src='../Images/ButtonBarRefreshOver.gif'" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Refresh&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td>
            <td class="prbbc"><asp:ImageButton runat="server" id="VehicleTypeResetButton" CausesValidation="false" CommandName="ResetFilters" Consumers="VehicleTypeTableControl" ImageURL="../Images/ButtonBarReset.gif" onmouseout="this.src='../Images/ButtonBarReset.gif'" onmouseover="this.src='../Images/ButtonBarResetOver.gif'" ToolTip="&lt;%# GetResourceValue(&quot;Btn:Reset&quot;, &quot;Training1&quot;) %>" AlternateText="">

		</asp:ImageButton></td><td class="prbbc"><img src="../Images/ButtonBarDividerR.gif" alt=""/></td><td class="prbbc"><img src="../Images/ButtonBarEdgeR.gif" alt=""/></td>
            <td class="pra"><Training1:Pagination runat="server" id="VehicleTypePagination">
	</Training1:Pagination></td><td><img src="../Images/paginationRowEdgeR.gif" alt=""/></td>
            </tr>
            </table>
            </td>
            </tr><!--Table View Area -->
            <tr>
            <td class="tre">
            <table cellspacing="0" cellpadding="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)">
            <!-- This is the table's header row -->
            
            <div id="AJAXUpdateHeaderRow">
            <tr class="tch">
            <th class="thc" colspan="4"><img src="../Images/space.gif" height="1" width="1" alt=""/></th><th class="thc" style="padding:0px;vertical-align:middle;"><asp:CheckBox runat="server" id="VehicleTypeToggleAll" onclick="toggleAllCheckboxes(this);">

		</asp:CheckBox></th>
            <th class="thc" scope="col"><asp:LinkButton runat="server" id="MakeLabel1" Text="Make" CausesValidation="False">
		</asp:LinkButton>
            </th>
            <th class="thc" scope="col"><asp:LinkButton runat="server" id="ModelLabel1" Text="Model" CausesValidation="False">
		</asp:LinkButton>
            </th>
            <th class="thc" scope="col"><asp:LinkButton runat="server" id="YearLabel" Text="Year" CausesValidation="False">
		</asp:LinkButton>
            </th></tr>
            </div>
            <!-- Table Rows -->
            <asp:Repeater runat="server" id="VehicleTypeTableControlRepeater">
			<ITEMTEMPLATE>
					<Training1:VehicleTypeTableControlRow runat="server" id="VehicleTypeTableControlRow">
							
            <div id="AJAXUpdateRecordRow">
            <tr>
                <td class="ticnb" scope="row"><asp:ImageButton runat="server" id="VehicleTypeRowViewButton" CausesValidation="False" CommandName="Redirect" CssClass="button_link" ImageURL="../Images/icon_view.gif" RedirectURL="../VehicleType/ShowVehicleTypePage.aspx?VehicleType={PK}" ToolTip="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;Training1&quot;) %>" AlternateText="">

							</asp:ImageButton></td>
                <td class="ticnb" scope="row"><asp:ImageButton runat="server" id="VehicleTypeRowEditButton" CausesValidation="False" CommandName="Redirect" CssClass="button_link" ImageURL="../Images/icon_edit.gif" RedirectURL="../VehicleType/EditVehicleTypePage.aspx?VehicleType={PK}" ToolTip="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;Training1&quot;) %>" AlternateText="">

							</asp:ImageButton></td>
                <td class="ticnb" scope="row"><asp:ImageButton runat="server" id="VehicleTypeRowCopyButton" CausesValidation="False" CommandName="Redirect" CssClass="button_link" ImageURL="../Images/icon_copy.gif" RedirectURL="../VehicleType/AddVehicleTypePage.aspx?VehicleType={PK}" ToolTip="&lt;%# GetResourceValue(&quot;Txt:CopyRecord&quot;, &quot;Training1&quot;) %>" AlternateText="">

							</asp:ImageButton></td>
                <td class="ticnb" scope="row"><asp:ImageButton runat="server" id="VehicleTypeRowDeleteButton" CausesValidation="False" CommandName="DeleteRecord" ConfirmMessage="&lt;%# GetResourceValue(&quot;DeleteRecordConfirm&quot;, &quot;Training1&quot;) %>" Consumers="VehicleTypeTableControlRow" CssClass="button_link" ImageURL="../Images/icon_delete.gif" ToolTip="&lt;%# GetResourceValue(&quot;Txt:DeleteRecord&quot;, &quot;Training1&quot;) %>" AlternateText="">

							</asp:ImageButton></td>
                <td class="ticwb" onclick="moveToThisTableRow(this);"><asp:CheckBox runat="server" id="VehicleTypeRecordRowSelection">

							</asp:CheckBox></td>
            <td class="ttc" ><asp:Literal runat="server" id="Make">
							</asp:Literal></td>
            <td class="ttc" ><asp:Literal runat="server" id="Model">
							</asp:Literal></td>
            <td class="ttc" ><asp:Literal runat="server" id="Year">
							</asp:Literal></td>
            </tr>
            </div>
            
					</Training1:VehicleTypeTableControlRow>
			</ITEMTEMPLATE>
	</asp:Repeater>
            </table>
        </td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
</tr>
</table>
<!-- End Table Panel.html -->

</Training1:VehicleTypeTableControl>

</ContentTemplate>
<Triggers>
	<asp:PostBackTrigger ControlID="VehicleTypePDFButton"/>
	<asp:PostBackTrigger ControlID="VehicleTypeWordButton"/>
	<asp:PostBackTrigger ControlID="VehicleTypeExportExcelButton"/>
	<asp:PostBackTrigger ControlID="VehicleTypeExportButton"/>
</Triggers>
</asp:UpdatePanel>
<div id="detailPopup" class="detailRolloverPopup" onmouseout="detailRolloverPopupClose();" onmouseover="clearTimeout(gPopupTimer);"></div>
                        </td>
                        </tr>
                        </table>
                    </td>
                </tr>
                </table>
                </td>
                <td class="pcR"></td>
            </tr>
            <tr>
                <td class="pcBL"></td>
                <td class="pcB">
                <Training1:Footer runat="server" id="PageFooter">
</Training1:Footer></td>
                <td class="pcBR"></td>
            </tr>
            </table>
            </td>
            <td class="pbR"><img src="../Images/space.gif" alt=""/></td>
            </tr>
            <tr>
            <td class="pbBL"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbB"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbBR"><img src="../Images/space.gif" alt=""/></td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
        <asp:ValidationSummary id="ValidationSummary1" ShowMessageBox="true" ShowSummary="false" runat="server"></asp:ValidationSummary></form>
    </body>
</html>
